<?php

namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;
class Signing extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = 0;
    protected $autoWriteTimestamp = true;

    protected function cat()
    {
        return self::belongsTo(SignCat::class, 'type')->bind(['cat_name'=>'name']);
    }
    
}